package tw.cuttle.bean;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class Layout implements Serializable {

    /**
     * 
     */
    private static final long serialVersionUID = -4550806221542639152L;
    private List<Template> templates;
    /**
     * @return the templates
     */
    public List<Template> getTemplates() {
        return templates;
    }
    /**
     * @param templates the templates to set
     */
    public void setTemplates(List<Template> templates) {
        this.templates = templates;
    }
    public void addTemplate(Template template){
	if(templates==null)templates=new ArrayList<Template>();
	templates.add(template);
    }
}
